package com.bh.vehicle.mapper;

import com.bh.common.basemapper.RootMapper;
import com.bh.vehicle.domain.JcCarrier;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 承运商Mapper接口
 *
 * @author slx
 * @date 2023-04-24
 */
@Mapper
public interface JcCarrierMapper extends RootMapper<JcCarrier> {

    /**
     * 查询承运商列表
     *
     * @param jcCarrier 承运商
     * @return 承运商集合
     */
    public List<JcCarrier> selectJcCarrierList(JcCarrier jcCarrier);

    /**
     * 查询承运商
     * @param code
     * @return
     */
    public JcCarrier selectCodeUnique(@Param("code") String code);
}
